// some util maybe not use

function ObjToUrlStr(obj) {
  var str = ''
  if (obj != {}) {
    var i = 0
    for (var key in obj) {
      if (i == 0) {
        str = str + '?' + key + '=' + obj[key]
      } else {
        str = str + '&' + key + '=' + obj[key]
      }
      i++
    }
  }
  return str
}
